Apache Load balancing
am 07.01.2010 19:06:43 von nima chavooshi
Thanks for your reply
The main purpose is load balancing.
Before any thing I want to know about differences between mod_proxy
and load balancing with UltraMonkey.
Also I will be happy for giving more solution :)
Thanks for more guidance
--
N.Chavoshi
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Apache Load balancing
am 08.01.2010 10:56:43 von john doe
From: nima chavooshi
> Before any thing I want to know about differences between mod_proxy
> and load balancing with UltraMonkey.
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
http://www.ultramonkey.org/
JD
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Mod rewrite
am 09.01.2010 08:07:07 von pkm2112
Hello experts,
Need help to mask url. I understand it can be done using RewriteRule in httpd.conf file.
Can I display http://server1.ncs.com/inventoryappl as
http://s1.ncs.com/inventoryappl
rgds
pkm
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Mod rewrite
am 09.01.2010 09:10:58 von Nicholas Sherlock
On 9/01/2010 8:07 p.m., pkm2112 wrote:
> Hello experts,
> Need help to mask url. I understand it can be done using RewriteRule in httpd.conf file.
>
> Can I display http://server1.ncs.com/inventoryappl as
> http://s1.ncs.com/inventoryappl
If this is on the same server, just add a ServerAlias entry for "s1" to
your "server1" host definition.
Cheers,
Nicholas Sherlock
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Re: Mod rewrite
am 10.01.2010 06:48:20 von pkm2112
Ok let me explain
From http://clc.ncs.com/inventoryappl, I'm redirected to
http://server1.ncs.com/inventoryappl.
Instead of displaying http://server1.ncs.com/inventoryappl,
want to display http://s1.ncs.com/inventoryappl
Can it be done with RewriteRule. I'm new to apache server. Please help
rgds
PKM
--- Nicholas Sherlock wrote:
> On 9/01/2010 8:07 p.m., pkm2112 wrote:
> > Hello experts,
> > Need help to mask url. I understand it can be done using
> RewriteRule in httpd.conf file.
> >
> > Can I display http://server1.ncs.com/inventoryappl as
> > http://s1.ncs.com/inventoryappl
>
> If this is on the same server, just add a ServerAlias entry for "s1"
> to
> your "server1" host definition.
>
> Cheers,
> Nicholas Sherlock
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Re: Mod rewrite
am 10.01.2010 07:52:09 von Jonathan Zuckerman
--0016e648d7b640558b047cc9dd50
Content-Type: text/plain; charset=UTF-8
On Sat, Jan 9, 2010 at 9:48 PM, pkm2112 wrote:
> Ok let me explain
> From http://clc.ncs.com/inventoryappl, I'm redirected to
> http://server1.ncs.com/inventoryappl.
>
> Instead of displaying http://server1.ncs.com/inventoryappl,
> want to display http://s1.ncs.com/inventoryappl
>
> Can it be done with RewriteRule. I'm new to apache server. Please help
>
> rgds
> PKM
>
> --- Nicholas Sherlock wrote:
>
> > On 9/01/2010 8:07 p.m., pkm2112 wrote:
> > > Hello experts,
> > > Need help to mask url. I understand it can be done using
> > RewriteRule in httpd.conf file.
> > >
> > > Can I display http://server1.ncs.com/inventoryappl as
> > > http://s1.ncs.com/inventoryappl
> >
> > If this is on the same server, just add a ServerAlias entry for "s1"
> > to
> > your "server1" host definition.
> >
> > Cheers,
> > Nicholas Sherlock
>
Needs more explanation still, when you said you "want to display" do you
mean you want the browser to render the page at a different URL as the one
in the URL bar, or you want the URL bar to actually change and redirect to
the second URL?
--0016e648d7b640558b047cc9dd50
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Sat, Jan 9, 2010 at 9:48 PM, pkm2112
r=3D"ltr"><
pkm2112@singnet.com=
..sg> wrote:
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ok let me explain
From
http://=
clc.ncs.com/inventoryappl, I'm redirected to
http://s=
erver1.ncs.com/inventoryappl.
Instead of displaying Â
" target=3D"_blank">http://server1.ncs.com/inventoryappl,
want to display
k">http://s1.ncs.com/inventoryappl
Can it be done with RewriteRule. I'm new to apache server. Please help<=
br>
rgds
PKM
--- Nicholas Sherlock <
n.sherloc=
k@gmail.com> wrote:
> On 9/01/2010 8:07 p.m., pkm2112 wrote:
> > Hello experts,
> > Need help to mask url. I understand it can be done using
> RewriteRule in httpd.conf file.
> >
> > Can I display
rget=3D"_blank">http://server1.ncs.com/inventoryappl as
> >
htt=
p://s1.ncs.com/inventoryappl
>
> If this is on the same server, just add a ServerAlias entry for "=
s1"
> to
> your "server1" host definition.
>
> Cheers,
> Nicholas Sherlock
Â
Needs mo=
re explanation still, when you said you "want to display" do you =
mean you want the browser to render the page at a different URL as the one =
in the URL bar, or you want the URL bar to actually change and redirect to =
the second URL?
--0016e648d7b640558b047cc9dd50--
:Mod rewrite
am 11.01.2010 13:52:26 von pkm2112
Hello experts, need help
From http://clc.ncs.com/inventoryappl, I'm redirected to
http://server1.ncs.com/inventoryappl.
I want to hide http://server1.ncs.com/inventoryappl.
Instead of display a dummy url :
http://s1.ncs.com/inventoryappl
Can it be done with RewriteRule. I'm new to Apache, kindly specify configuration.
rgds
pkm
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: :Mod rewrite
am 11.01.2010 13:58:41 von rambo
> Can it be done with RewriteRule. I'm new to Apache, kindly specify
> configuration.
No, and it would be extremely big security hole to spoof a domain name.
However you might just create a DNS CNAME record for the domain name and
use it.
--
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: :Mod rewrite
am 11.01.2010 14:13:29 von Rich Bowen
On Jan 11, 2010, at 07:52 , pkm2112 wrote:
> Hello experts, need help
>
> From http://clc.ncs.com/inventoryappl, I'm redirected to
> http://server1.ncs.com/inventoryappl.
>
> I want to hide http://server1.ncs.com/inventoryappl.
>
> Instead of display a dummy url :
> http://s1.ncs.com/inventoryappl
>
>
> Can it be done with RewriteRule. I'm new to Apache, kindly specify
> configuration.
Questions like this tend to be hiding several levels of assumptions
and/or complexity that's not revealed by the question itself,
however ...
I *think* what you're asking is for the ProxyPass directive, not
mod_rewrite at all.
ProxyPass /inventoryappl http://server1.ncs.com/inventoryappl
ProxyPassReverse /inventoryappl http://server1.ncs.com/inventoryappl
This will "hide" the back-end URL, while serving content from it.
mod_rewrite doesn't need to be involved in this process at all.
As for the other response that mentioned a big security hole and
spoofing DNS, I'm not at all sure what he was talking about, but you
don't need to spoof DNS, and there's no security implication whatever
in using this technique.
--
Rich Bowen
http://modrewrite.org/
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: :Mod rewrite
am 11.01.2010 14:25:25 von rambo
>> Instead of display a dummy url :
>> http://s1.ncs.com/inventoryappl
> spoofing DNS, I'm not at all sure what he was talking about
From my understanding the question was if one can hide real url and
display a fake one at users client (i.e. browser).
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: :Mod rewrite
am 11.01.2010 15:20:35 von Oliver Schoenborn
> From: Marcin 'Rambo' Roguski [mailto:rambo@id.uw.edu.pl]
>=20
> >> Instead of display a dummy url :
> >> http://s1.ncs.com/inventoryappl
>=20
> > spoofing DNS, I'm not at all sure what he was talking about
>=20
> From my understanding the question was if one can hide real url and
> display a fake one at users client (i.e. browser).
Marcin, I'm also curious about your statement about security hole when spoo=
fing a domain name via mod-rewrite. Isn't mod-rewrite *all* about spoofing =
URL's (which can include domain name part)? OK, it is used to remap URL tre=
es for moving / restructuring a website (which is not spoofing) but it is a=
lso used to allow for more user-friendly URL's that are then mapped to vari=
ous servers, web apps etc, which *is* a kind of spoofing. Similarly, manipu=
late domain name given by client to infer real URL to use in backend (also =
kind of spoofing).=20
Oliver
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: :Mod rewrite
am 11.01.2010 15:32:26 von rambo
> Marcin, I'm also curious about your statement about security hole when
> spoofing a domain name via mod-rewrite. Isn't mod-rewrite *all* about
> spoofing URL's (which can include domain name part)?
As you mentioned, remapping is not the same as spoofing. Imagine someone's
ability to send you back URI www.yourbankname.com as the current domain
when you're actually at nastysite.thief.com (obviously, that's simply
impossible, but if you look at the senders question, it's kinda that what
he's trying to achieve - of course, in this case, with innocent subdomain
spoofing)
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: :Mod rewrite
am 11.01.2010 15:58:46 von Oliver Schoenborn
> From: Marcin 'Rambo' Roguski [mailto:rambo@id.uw.edu.pl]
>=20
> > Marcin, I'm also curious about your statement about security hole when
> > spoofing a domain name via mod-rewrite. Isn't mod-rewrite *all* about
> > spoofing URL's (which can include domain name part)?
>=20
> As you mentioned, remapping is not the same as spoofing. Imagine someone'=
s
> ability to send you back URI www.yourbankname.com as the current domain
> when you're actually at nastysite.thief.com (obviously, that's simply
> impossible, but if you look at the senders question, it's kinda that
> what he's trying to achieve - of course, in this case, with innocent
> subdomain spoofing)
Spoofing is when you are intentionally lying to the user about which domain=
server they are accessing: they think they are at a server in foo.com, but=
they are in fact at xx.xx.xx.xx computer that is phishing for the user's d=
ata. Subdomains are handled by the DNS server for the domain. Therefore to =
spoof a subdomain you first have to spoof the domain to change which DNS se=
rver gets used. But the OP was not spoofing a domain, just changing the sub=
domain displayed, something done zillions of times by mod rewrite users for=
maintenance, testing etc.=20
Also, mod_rewrite provides the P (reverse proxy) and R (redirect) rule qual=
ifiers for a reason: for proxying and redirecting. Redirecting can be used =
to redirect to an entirely different site. If my company has been purchased=
and I want to redirect *all* requests for www.foo.com (www.foo.com/whateve=
r...) to mothership.com then I could use mod-rewrite to redirect to www.mot=
hership.com. This would not be spoofing, but a legitimate redirection. OTOH=
if I proxied all requests to www.foo.com to www.mothership.com (the user w=
ouldn't know since using ProxyPass etc), I would still not be spoofing, jus=
t keeping Foo's identity intact so my clients are put off by a (friendly) t=
akeover.=20
Oliver
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: :Mod rewrite
am 11.01.2010 16:07:50 von rambo
Oops, sorry for unnecessary confusion then
--
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org